[INFO] fetching crate pfm-sys 0.0.18+libpfm4.13.0-42d6d0c3...
[INFO] fixing pfm-sys-0.0.18+libpfm4.13.0-42d6d0c3 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate pfm-sys 0.0.18+libpfm4.13.0-42d6d0c3 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate pfm-sys 0.0.18+libpfm4.13.0-42d6d0c3
[INFO] finished tweaking crates.io crate pfm-sys 0.0.18+libpfm4.13.0-42d6d0c3
[INFO] tweaked toml for crates.io crate pfm-sys 0.0.18+libpfm4.13.0-42d6d0c3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate pfm-sys 0.0.18+libpfm4.13.0-42d6d0c3 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 45 packages to latest compatible versions
[INFO] [stderr]       Adding bindgen v0.69.5 (available: v0.72.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5ef7ddb0c7cc0d3120992fcbeec11915f94d6c1397bde220ba8438f8b2452f18
[INFO] running `Command { std: "docker" "start" "5ef7ddb0c7cc0d3120992fcbeec11915f94d6c1397bde220ba8438f8b2452f18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5ef7ddb0c7cc0d3120992fcbeec11915f94d6c1397bde220ba8438f8b2452f18" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ef7ddb0c7cc0d3120992fcbeec11915f94d6c1397bde220ba8438f8b2452f18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5ef7ddb0c7cc0d3120992fcbeec11915f94d6c1397bde220ba8438f8b2452f18" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling pfm-sys v0.0.18+libpfm4.13.0-42d6d0c3 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs (15 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.55s
[INFO] [stderr] crater-edition-check: pfm-sys v0.0.18+libpfm4.13.0-42d6d0c3 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling pfm-sys v0.0.18+libpfm4.13.0-42d6d0c3 (/opt/rustwide/workdir)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57134
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...g_t) , "::" , stringify ! (idx))) ; } extern "C" { pub fn pfm_initialize () -> pfm_err_t ; } extern "C" { pub fn pfm_terminate () ...
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57189
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... { pub fn pfm_initialize () -> pfm_err_t ; } extern "C" { pub fn pfm_terminate () ; } extern "C" { pub fn pfm_strerror (code : :: ...
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57230
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...() ; } extern "C" { pub fn pfm_strerror (code : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } extern ...
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57346
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... :: os :: raw :: c_char ; } extern "C" { pub fn pfm_get_version () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pfm_get...
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57421
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: c_int ; } extern "C" { pub fn pfm_get_pmu_info (pmu : pfm_pmu_t , output : * mut pfm_pmu_info_t) -> pfm_err_t ; } extern "C" { ...
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57525
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...rr_t ; } extern "C" { pub fn pfm_get_event_next (idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C...
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57637
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...t ; } extern "C" { pub fn pfm_find_event (str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern...
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57755
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_event_info (idx : :: std :: os :: raw :: c_int , os : pfm_os_t , output : * mut pfm_event_info_t) -> pfm_err_t ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57898
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_os_event_encoding (str_ : * const :: std :: os :: raw :: c_char , dfl_plm : :: std :: os :: raw :: c_int , os : pfm_os_t , args : * mut :: std :: os :: raw :: c_void) -> pfm_err_t ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:58110
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_event_attr_info (eidx : :: std :: os :: raw :: c_int , aidx : :: std :: os :: raw :: c_int , os : pfm_os_t , output : * mut pfm_event_attr_info_t) -> pfm_err_t ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:58302
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...) -> pfm_err_t ; } extern "C" { pub fn pfm_pmu_validate (pmu_id : pfm_pmu_t , fp : * mut FILE) -> pfm_err_t ; } extern "C" { pub f...
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:58395
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_event_encoding (s...: std :: os :: raw :: c_int) -> pfm_err_t ; } # ...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57134
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...g_t) , "::" , stringify ! (idx))) ; } extern "C" { pub fn pfm_initialize () -> pfm_err_t ; } extern "C" { pub fn pfm_terminate () ...
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57189
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... { pub fn pfm_initialize () -> pfm_err_t ; } extern "C" { pub fn pfm_terminate () ; } extern "C" { pub fn pfm_strerror (code : :: ...
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:123517
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_perf_event_encodi...: std :: os :: raw :: c_int) -> pfm_err_t ; }
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57230
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...() ; } extern "C" { pub fn pfm_strerror (code : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } extern ...
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57346
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... :: os :: raw :: c_char ; } extern "C" { pub fn pfm_get_version () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pfm_get...
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57421
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: c_int ; } extern "C" { pub fn pfm_get_pmu_info (pmu : pfm_pmu_t , output : * mut pfm_pmu_info_t) -> pfm_err_t ; } extern "C" { ...
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57525
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...rr_t ; } extern "C" { pub fn pfm_get_event_next (idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C...
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57637
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...t ; } extern "C" { pub fn pfm_find_event (str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern...
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57755
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_event_info (idx : :: std :: os :: raw :: c_int , os : pfm_os_t , output : * mut pfm_event_info_t) -> pfm_err_t ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:57898
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_os_event_encoding (str_ : * const :: std :: os :: raw :: c_char , dfl_plm : :: std :: os :: raw :: c_int , os : pfm_os_t , args : * mut :: std :: os :: raw :: c_void) -> pfm_err_t ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:58110
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_event_attr_info (eidx : :: std :: os :: raw :: c_int , aidx : :: std :: os :: raw :: c_int , os : pfm_os_t , output : * mut pfm_event_attr_info_t) -> pfm_err_t ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:58302
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...) -> pfm_err_t ; } extern "C" { pub fn pfm_pmu_validate (pmu_id : pfm_pmu_t , fp : * mut FILE) -> pfm_err_t ; } extern "C" { pub f...
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:58395
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_event_encoding (s...: std :: os :: raw :: c_int) -> pfm_err_t ; } # ...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:123517
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { pub fn pfm_get_perf_event_encodi...: std :: os :: raw :: c_int) -> pfm_err_t ; }
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:2697
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...len : usize) -> & [T] { :: std :: slice :: from_raw_parts (self . as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut ...
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:2640
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...lf as * mut _ as * mut T } # [inline] pub unsafe fn as_slice (& self , len : usize) -> & [T] { :: std :: slice :: from_raw_parts (...
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]   = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:2838
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ize) -> & mut [T] { :: std :: slice :: from_raw_parts_mut (self . as_mut_ptr () , len) } } impl < T > :: std :: fmt :: Debug for _...
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:2769
[INFO] [stdout]   |
[INFO] [stdout] 3 | .... as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut self , len : usize) -> & mut [T] { :: std :: slice :: from_raw_p...
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pfm-sys` (lib) due to 13 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:2697
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...len : usize) -> & [T] { :: std :: slice :: from_raw_parts (self . as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut ...
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:2640
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...lf as * mut _ as * mut T } # [inline] pub unsafe fn as_slice (& self , len : usize) -> & [T] { :: std :: slice :: from_raw_parts (...
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]   = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:2838
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ize) -> & mut [T] { :: std :: slice :: from_raw_parts_mut (self . as_mut_ptr () , len) } } impl < T > :: std :: fmt :: Debug for _...
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/pfm-sys-5675be9785519c16/out/bindings.rs:3:2769
[INFO] [stdout]   |
[INFO] [stdout] 3 | .... as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut self , len : usize) -> & mut [T] { :: std :: slice :: from_raw_p...
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pfm-sys` (lib test) due to 13 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5ef7ddb0c7cc0d3120992fcbeec11915f94d6c1397bde220ba8438f8b2452f18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ef7ddb0c7cc0d3120992fcbeec11915f94d6c1397bde220ba8438f8b2452f18", kill_on_drop: false }`
[INFO] [stdout] 5ef7ddb0c7cc0d3120992fcbeec11915f94d6c1397bde220ba8438f8b2452f18
